package com.lej.dataservice.club.bean.upload

import java.io.Serializable

/**
 * 人脸检测返回数据
 * Created by Administrator on 2020-04-10
 */
data class AnalyseInfo(
    var uid: String,
    var photoid: String,
    var roomid: String,
    var gender: Int,//性别
    var ifps: Int,//0未知，1有p图，2没有p图
    var isself: Int,//是否本人 0未知，1不是本人，2本人
    var photourl: String,
    var type: String,
    var videourl: String,
    var ai_score: String,//ai分数
    var contryrank: String,
    var rankingincountry: String?,
    var contryprogress: String?,
    var city: String,
    var rankingincity: String?,
    var cityprogress: String?,
    var cityrank: String,
    var rankingindistrict: String?,
    var ai_report: List<String>,//是否人照一致，是否p图文字描述
    var pois: List<AnalysePoi>
) : Serializable{
    fun getContryprogressValue()=contryprogress?.toDoubleOrNull()?.toInt()?:0
    fun getCityprogressValue()=cityprogress?.toDoubleOrNull()?.toInt()?:0
}

data class AnalysePoi(var id: String?, var name: String?) : Serializable
